﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Viewmodel;
using BLL;

namespace Xingyungou.ChenJiBao
{
    public partial class Yuengojiexiao : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.Repeater1.DataSource = ZuijingjexiaoBLL.jiexiaochaxuen();
                this.Repeater1.DataBind();
                this.Repeater2.DataSource = ShoppingBLL.Select();
                this.Repeater2.DataBind();
                this.Repeater3.DataSource = ShoppingBLL.Chapaihang();
                this.Repeater3.DataBind();
                this.Repeater4.DataSource = ShoppingBLL.Chapaihanger();
                this.Repeater4.DataBind();
                //Label1.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
                Label1.Text = DateTime.Now.ToString();
            }
        }
    }
}